<form class="layui-form" action="" method="post" name="myform" id="myform">
	<input name="action" id="action" type="hidden" value="del" />
	<div class="manniucms-sub-content">
		<div class="layui-box">
			<fieldset class="layui-elem-field layui-field-title">
			<legend>会员列表</legend>
				<div class="layui-field-box">
					<table class="layui-table">
						<colgroup>
							<col width="60">
							<col width="80">
							<col width="220">
							<col width="220">
							<col width="120">
							<col width="120">
							<col width="120">
							<col width="200">
							<col width="100">
							<col>
						</colgroup>
						<thead>
							<tr>
								<th class="th-text-center"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
								<th class="th-text-center">UID</th>
								<th>用户名</th>
								<th>昵称</th>
								<th>会员组</th>
								<th class="th-text-center">已充值金额</th>
								<th class="th-text-center">虚拟币</th>
								<th>注册时间</th>
								<th class="th-text-center">用户状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							{volist name="list" id="vo"}
							<tr>
								<td class="text-center"><input type="checkbox" name="ids[]" lay-skin="primary" value="{$vo.uid}"></td>
								<td class="text-center">{$vo.uid}</td>
								<td>{$vo.username}</td>
								<td>{$vo.nickname}</td>
								<td>{$vo.group_id_name}</td>
								<td class="text-center">{$vo.chargeable}</td>
								<td class="text-center">{$vo.read_money}</td>
								<td>{$vo.create_time}</td>
								<td class="text-center">
									<i class="fa {if $vo.status}fa-check-circle color_primary{else}fa-times-circle color_danger{/if}" style="font-size:18px;"></i>
								</td>
								<td>
									<div class="layui-btn-group">
										<a class="layui-btn layui-btn-small layui-btn-primary" href="{:url('edit','uid='.$vo.uid)}">
											<i class="layui-icon">&#xe642;</i> 修改
										</a>
										<a class="layui-btn layui-btn-small layui-btn-primary" href="javascript:;" onclick="mn_confirm_url('确定删除会员 {$vo.username} 吗？','{:url('del','uid='.$vo.uid)}')">
											<i class="layui-icon">&#xe640;</i> 删除
										</a>
									</div>
								</td>
							</tr>
							{/volist}
						</tbody>
					</table>
				</div>
			</fieldset>
		</div>
	</div>
	<!-- 底部 -->
	<div class="manniucms-sub-footer layui-box">
		<div class="msf-box clearfix">
			<div class="layui-inline msf-box-sub1">
				<input type="checkbox" lay-skin="primary" lay-filter="allChoose">
			</div>
			<div class="layui-inline">
				<a class="layui-btn layui-btn-small layui-btn-danger" onclick="mn_confirm_set_all('确定删除已选中的会员吗？','del')"><i class="layui-icon">&#xe640;</i> 删除</a>
			</div>
			<div class="layui-inline">
				<a class="layui-btn layui-btn-small layui-btn-warm" onclick="mn_confirm_set_all('确定修改已选中会员的会员组吗？','move')"><i class="layui-icon">&#xe623;</i> 移动</a>
			</div>
			<div class="layui-inline">
				<select name="g_groupid">
					{if !isset($groups) && empty($groups)}
					<option value="">暂无会员组</option>
					{else}
					{volist name="groups" id="vo"}
					<option value="{$vo.id}"> {$vo.name} </option>
					{/volist}
					{/if}
				</select>
			</div>
			<div class="pull-right">
            	{$list->render()}
            </div>
		</div>
	</div>
</form>